<?php
/**
 *
 * @package WordPress
 * @subpackage Twenty_Twelve
 * @since Twenty Twelve 1.0
 */
 $postid = get_the_ID();
 $dates = get_post_meta($postid, 'portfolio_dates', true);
 $website = get_post_meta($postid, 'portfolio_website', true);
 $clients = kb_format_link_list(simple_portfolio_get_clients($postid));
 $categories = kb_format_link_list(simple_portfolio_get_categories($postid));
 $tags = kb_format_link_list(simple_portfolio_get_tags($postid));
?>

<article class="project entry-content">
	<header>
		<h2 class='project-title'><?php the_title(); ?></h2>
	</header>
	
	<section class="project-meta">
		<div class="project-website">		
				<a href="<?php echo esc_url($website); ?>" target="_blank" ><?php echo $website; ?></a>
		</div>
		
		<div class="project-clients">
				<?php echo $clients ?>
	  </div>
	
		<div class="project-categories">
	    	<?php echo $categories ?>
	  </div>	
	  
	  <div class="project-tags">
	    	<?php echo $tags ?>
	  </div>		
	</section><!--/.project-meta-->
  
	<section class="project-description">
		<?php the_content(); ?>
	</section><!--/.project-description-->	
	
	<footer>
		<div class="project-dates">		
				<?php echo $dates; ?>
		</div>
	</footer>
</article>